-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers/flash: stm32: Extend qspi-nor support to F7 series - no DMA #31409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/flash: stm32: Extend qspi-nor support to F7 series - no DMA #31409
Conversation
eb63252 to
c132b73
Compare
|
@hjuul can you rebase ? |
c132b73 to
f541d17
Compare
|
@erwango I've rebased. One of the checks are failing but I can't figure out why. Could you please have a look? |
f541d17 to
5dc77d0
Compare
|
CI Failure: #32344 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to qspi-nor or is it internal flash? It looks like something that might belong in a separate commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is related to internal flash. @erwango suggested I add it for consistency with other disco boards.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed the flash layout for internal flash and rebased.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flash layout changes are not related to QSPI, so they should go into a separate commit (or even a new PR if not related/required with these changes)
5dc77d0 to
c79fd53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better use DT_SIZE_M helper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better use DT_SIZE_M helper
Add quadspi node in stm32f7.dtsi and quadspi support to boards stm32f746g_disco and stm32f769i_disco. Note! Does not support DMA. Signed-off-by: Helge Juul <[email protected]>
c79fd53 to
d9a45a4
Compare
This PR adds qspi flash support to stm32 f7. DMA is not supported (will be added in #31405).
I have verified that
samples/drivers/spi_flashworks on boards stm32f746g_disco and stm32f769i_disco.